home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_11_07 / stdfile.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-06  |  376 b   |  15 lines

  1. /*** StdFile Class Interface: stdfile.h ***/
  2.  
  3. #include <stdio.h>
  4.  
  5. DCL_METHODS(StdFile,File,(const char *nam,const char *acc))
  6.     REDCL_METHOD(Seek,(long offset, int whence),long);
  7.     REDCL_METHOD(Read,(void *buffer, int nbytes),int);
  8.     REDCL_METHOD(Write,(void *buffer, int nbytes),int);
  9. END_METHODS
  10.  
  11. DCL_MEMBERS(StdFile,File)
  12.    FILE *handle;
  13. END_MEMBERS
  14.  
  15.